package cc.comac.mom.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipRepairWorkHour;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipRepairWorkHourService {
	@RequestMapping(value = "/p/cs/EquipRepairWorkHourService/insert",method = RequestMethod.POST)
	public ResultBean insert(@RequestBody EquipRepairWorkHour obj);
	
	@RequestMapping(value = "/p/cs/EquipRepairWorkHourService/update",method = RequestMethod.POST)
	public ResultBean update(@RequestBody EquipRepairWorkHour obj);
	
	@RequestMapping(value = "/p/cs/EquipRepairWorkHourService/delete",method = RequestMethod.POST)
	public ResultBean delete(@RequestBody EquipRepairWorkHour obj);
	
	@RequestMapping(value = "/p/cs/EquipRepairWorkHourService/selectByCondition",method = RequestMethod.POST)
	public ResultBean selectByCondition(@RequestBody EquipRepairWorkHour obj) ;

}
